<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{ title }}</title>
    <script src="{{ url_for('static', filename='js/ckeditor/ckeditor.js') }}"></script>
    <script src="{{ url_for('static', filename='js/jquery-3.4.1.min.js') }}"></script>
    <script src="{{ url_for('static', filename='js/popper.min.js') }}"></script>
    <script src="{{ url_for('static', filename='js/bootstrap-4.4.1.js') }}"></script>
    <link href="{{ url_for('static', filename='css/bootstrap-4.4.1.css') }}" rel="stylesheet" type="text/css">
</head>

<body style="padding-top: 70px">
<div class="container-fluid" style="height: 1000px;width: 90%">
    {% block body %}
        <h1>网站概要</h1>
        <div style="margin-top: 30px">
            <p>这是MedInfo的后台，可以在这里进行文章等内容的的添加、修改等操作。</p>
            <p> 目前共有{{ counter }}篇文章</p>
            <div class="btn-group" role="group" style="margin-top: 30px">
                <button type="button" class="btn btn-secondary">撰写文章</button>
                <button type="button" class="btn btn-secondary">TODO1</button>
                <button type="button" class="btn btn-secondary">TODO2</button>
            </div>
        </div>
    {% endblock %}
</div>
</body>
<footer id="footer">
    <p style="float: right">©MedInfo,2020</p>
    <p class="col-xl-11" style="text-align: center;bottom: auto">联系方式:邮件、电话</p>
</footer>


<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark"><a class="navbar-brand" href="#">MedInfo后台管理</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent1"
            aria-controls="navbarSupportedContent1" aria-expanded="false" aria-label="Toggle navigation"><span
            class="navbar-toggler-icon"></span></button>
    <div class="collapse navbar-collapse" id="navbarSupportedContent1">
        <ul class="navbar-nav mr-auto">
            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle " id="navbarDropdownMenuLink" data-toggle="dropdown"
                   aria-haspopup="true" aria-expanded="false">
                    撰写
                </a>
                <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
                    <a class="dropdown-item" href="#">会议记录</a>
                    <a class="dropdown-item" href="#">通知通告</a>
                </div>
            </li>
            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" id="navbarDropdownMenuLink1" data-toggle="dropdown"
                   aria-haspopup="true" aria-expanded="false">
                    管理
                </a>
                <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
                    <a class="dropdown-item" href="#">会议记录管理</a>
                    <a class="dropdown-item" href="#">成员管理</a>
                </div>
            </li>
        </ul>
        <ul class="navbar-nav">
            <li class="nav-item  my-2 my-lg-0"><a class="nav-link" href="#">用户</a></li>
            <li class="nav-item  my-2 my-lg-0"><a class="nav-link" href="#">登出</a></li>
            <li class="nav-item  my-2 my-lg-0"><a class="nav-link" href="#">网站</a></li>
        </ul>

    </div>
</nav>

</html>